package com.glodon.paas.document.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.glodon.paas.document.dao.domain.PublicTokenEntity;

/**
 * @author wangchen
 */
public interface PublicTokenDao extends DBDao<PublicTokenEntity, String> {

    static Logger logger = LoggerFactory.getLogger(PublicTokenDao.class);

    int update(PublicTokenEntity entity);

    PublicTokenEntity getByToken(String token);
}
